<?php namespace dmq;

class Settings
{
	// Folder paths. All relative paths starts from the file which require this Settings.php file.
	const DMQ_PATH = 'php/dmq/';			// The dmq folder path.
	const MVC_PATH = 'php/'; 				// Path to the folder containing the website mvc-files.
	const AUTH_MODEL = 'php/obj/User.php';	// The file defining the class with login data to be stored in the session.

	// Database connection settings.
	const DB_HOST = "213.180.89.119";
	const DB_USER = "irinoriuser2";
	const DB_PASSWORD = "irinoripw";
	const DB_NAME = "irinori2";
}

// Load the MVC superclasses.
require_once Settings::DMQ_PATH . 'Controller.php';
require_once Settings::DMQ_PATH . 'Model.php';
require_once Settings::DMQ_PATH . 'View.php';
